Shin Megami Tensei debug mode patch
by Revenant - June 18, 2012
Use with headerless rom, version 1.0

This patch enables a couple of debugging features in SMT1, which may prove useful to those
working on new translations (or just a bit of fun to anyone interested in poking around in the
game's guts.)

This was originally made for The Cutting Room Floor when I was on a mission to find debug modes and
undiscovered cheats in as many SNES games as possible - the final count came close to 100 games
before I got totally burned out (thanks largely to TOSE), of which four were Megaten games. 

The relevant article is here: http://tcrf.net/Shin_Megami_Tensei

Here are how the two main features work:

Holding X on controller 1 when triggering an event (such as a conversation or entering a shop) will
display the event number in the text window. Using the D-pad, you can change the number to select
which event will take place. An easy way to do this is by loading a game, turning around, holding X
and walking back to the terminal (or other save point.) 

 - Up/Down increase and decrease the number by 0001 
 - Left/Right increase/decrease it by 0010 
 - L/R selects one of four event groups, starting at 0000, 4000, 8000, and C000. 
 - A begins the selected event. 

This also works with 2D (overworld) events, though the event number isn't visible because the
screen fades out before the number is displayed.

Pressing X after opening the event selector will bring up a flag editor, which lets you turn up to
256 boolean flags on or off by pressing A (although several of the flags may not actually have any
effect.) Pressing B will exit the flag editor and continue with the selected event.

I don't actually know what any of these flags do - if you're willing to investigate, please feel
free to add your findings to the above article on TCRF.

Have fun!

Send your love to d@revenant1.net